<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
	<meta name="viewport" content="user-scalable=no,viewport-fit=cover" />
	<link href="./css/baseCss.css" rel="stylesheet" type="text/css"/>
	<link href="./base/layer.css" rel="stylesheet" type="text/css"/>
	<!-- <link href="./base/articlecon.css" rel="stylesheet" type="text/css"/> -->
	<link href="./base/base2.css" rel="stylesheet" type="text/css"/>
	<script type="text/javascript" src="./base/rem.js"></script>
	<script type="text/javascript" src="./base/iscroll.js"></script>
	<style type="text/css">
		/*头部*/
		.myTop{
			background-color: #f83a63;
			color: #fff;
			height: 3.4rem;
    		padding-top: 1.1rem;
		}
		.myTop-root{
			width: 1.67rem;
    		height: 1.67rem;
    		overflow: hidden;
    		border-radius: 2rem;
    		float: left;
    		margin-left: 0.6rem;
    		margin-right: 0.3rem;
		}
		.myTop-root img{
			width: 100%;
			height: 100%;
		}
		.myTop-text{
			float: left;
    		margin-top: 0.2rem;
		}
		.myTop-phone{
			font-size: 0.38rem;
    		margin-top: 15px;
		}

		/*中间条目*/
		.myCenter{
			background-color: #fff;
    		margin-top: 0.33rem;
    		padding: 0 0.5rem;
    		min-height: 12.2rem;
		}
		.myCenter-every{
			height: 1.5rem;
    		line-height: 1.5rem;
    		border-bottom: 0.02rem solid #ebebec;
		}
		.myCenter-logo{
			width: 0.75rem;
    		vertical-align: text-top;
    		margin-right: 0.3rem;
		}
		.myCenter-logo-special{
			margin-top: -0.1rem;
    		margin-right: 0.45rem;
    		width: 0.6rem;
		}
		.myCenter-text{}
		.myCenter-return{
			width: 0.4rem;
    		float: right;
    		margin-top: 30px;
		}
	</style>
	<title>我的</title>
</head>
<body>
	
	<header>
		<div class="myTop">
			<div class="myTop-root"><img src="/customer/userIcon/1.png"></div>
			<div class="myTop-text">
				<div id="realname">会飞的鱼</div>
				<div class="myTop-phone">0000000</div>
			</div>
		</div>
	</header>

	<div>
		<div class="myCenter">
			<div class="myCenter-every" onclick="window.location.href='./address.html'"><img class="myCenter-logo myCenter-logo-special" src="./img/home_02.png"><span class="myCenter-text">地址管理</span><img class="myCenter-return" src="./img/return_01.png"></div>
			<!-- <div class="myCenter-every" onclick="window.location.href='./couponMy.html'"><img class="myCenter-logo" src="./img/my_02.png"><span class="myCenter-text">优惠券管理</span><img class="myCenter-return" src="./img/return_01.png"></div> -->
			<!-- <div class="myCenter-every"><img class="myCenter-logo" src="./img/my_03.png"><span class="myCenter-text">我的收藏</span><img class="myCenter-return" src="./img/return_01.png"></div>
			<div class="myCenter-every"><img class="myCenter-logo" src="./img/my_04.png"><span class="myCenter-text">我的足迹</span><img class="myCenter-return" src="./img/return_01.png"></div>
			<div class="myCenter-every"><img class="myCenter-logo" src="./img/my_05.png"><span class="myCenter-text">联系客服</span><img class="myCenter-return" src="./img/return_01.png"></div> -->
		</div>
	</div>

	<footer>
		<div style="height: 2.03rem;"></div>
		<div class="home">
			<div class="home-every" onclick="window.location.href='./index.html'">
				<div><img src="./img/home_03.png"></div>
				<div class="home-text">首页</div>
			</div>
			<!-- <div class="home-every home-near">
				<div><img src="./img/home_02.png"></div>
				<div class="home-text">附近</div>
			</div> -->
			<div class="home-every" onclick="window.location.href='./order.html'">
				<div><img src="./img/home_01.png"></div>
				<div class="home-text">订单</div>
			</div>
			<div class="home-every" onclick="window.location.href='./myCenter.html'">
				<div><img src="./img/home_08.png"></div>
				<div class="home-text" style="color: #fc6264;">我的</div>
			</div>
		</div>
	</footer>
</body>
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript">
	userInfo();
	function userInfo(){
	   	var userInfo = sessionStorage.getItem("userInfo");
	   	if(userInfo==undefined||userInfo==null||userInfo==""){
	   	}else{
	   		var realname = "";
	   		userInfo = JSON.parse(userInfo);
	   		if(userInfo.realname==null||userInfo.realname==undefined){
	   		}else{
	   			realname = userInfo.realname;
	   		}
	   		if(userInfo.logo==null||userInfo.logo==undefined){	
	   		}else{
	   			//$(".myTop-root img").attr("src",userInfo.logo);
	   		}
	   		
	   		$("#realname").text(realname);
	   		$(".myTop-phone").text(userInfo.username);
	   	}
	}
</script>
</html>